package com.zlyx.easy.core.event;

import org.springframework.context.ApplicationEvent;

/**
 * @Auth 赵光
 * @Describle
 */
public class LogEvent extends ApplicationEvent {

	private static final long serialVersionUID = 1L;

	private String type;

	private Object msg;

	public LogEvent(Class<?> cls, String type, Object msg) {
		super(cls);
		this.type = type;
		this.msg = msg;
	}

	public LogEvent(Object msg) {
		super(null);
		this.msg = msg;
	}

	public Object getMsg() {
		return msg;
	}

	public void setMsg(Object msg) {
		this.msg = msg;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
}
